package com.roger.myHome.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
public class LotteryVO implements Serializable {
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    private String host;

    private String customer;

    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
    private Date buyDate;

    private String type;

    private String predictResult;

    private String finalResult;

    private String lotteryTicket;
}
